package cn.jcet.config.shiro;

import cn.jcet.constants.Constants;
import cn.jcet.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * @author 鲜磊
 * @Date 2021/1/18 22:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ActiverUser implements Serializable {

    private User user;
    // 角色
    private List<String> roles = Collections.EMPTY_LIST;
    // 权限
    private List<String> permissions = Collections.EMPTY_LIST;

}
